import request from '@/utils/request'

export function getsupplierPageList(data) {
    return request({
      url: '/food/supplier/getsupplierPageList',
      method: 'post',
      data
    })
}

export function saveOrUpdateFoodSupplierInfo(data) {
    return request({
      url: '/food/supplier/saveOrUpdateFoodSupplierInfo',
      method: 'post',
      data
    })
}

export function deleteFoodSupplierById(data) {
    return request({
      url: '/food/supplier/deleteFoodSupplierById',
      method: 'post',
      data
    })
}

export function getsupplierGoodsPageList(data) {
    return request({
      url: '/food/supplier/getsupplierGoodsPageList',
      method: 'post',
      data
    })
}

export function saveOrUpdateFoodSupplierGoodsInfo(data) {
    return request({
      url: '/food/supplier/saveOrUpdateFoodSupplierGoodsInfo',
      method: 'post',
      data
    })
}

export function deleteFoodSupplierGoodsById(data) {
    return request({
      url: '/food/supplier/deleteFoodSupplierGoodsById',
      method: 'post',
      data
    })
}